Skip to main content

Copy File

AutomatR.Dropbox.Activities.CopyFile

The "Copy File" activity in AutomatR is part of the Dropbox.Files activities package, facilitating the copying of a file to a different location within the user's Dropbox. This activity simplifies file management tasks in Dropbox, providing efficient automation workflows.

Properties

NameDescription
Input
Destination Folder PathSpecifies the path of the folder in Dropbox where the copied file should be stored. String variables containing the destination folder path.
OverwriteWhen enabled, allows overwriting the destination file if it already exists. Boolean variables to enable or disable overwriting.
Source File PathSpecifies the path of the file in Dropbox that needs to be copied. String variables containing the source file path.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Copy File" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the delay is 5 seconds, enter "5".

How to Use

  1. Drag and drop the "Copy File" activity onto the workflow.
  2. Configure the properties by specifying the source file path, destination folder path, and optional settings like delay and overwrite.
  3. Execute the workflow to copy the specified file to the designated location within Dropbox.

Example

Consider an example where the "Copy File" activity is used to copy a file named "document.txt" from one folder to another within Dropbox:

Copy File:
Display Name: "Copy Document File"
Source File Path: "/Folder1/document.txt"
Destination Folder Path: "/Folder2/"
Overwrite: true

In this example, the activity copies the "document.txt" file from the "Folder1" directory to the "Folder2" directory within Dropbox. The "Overwrite" option is set to true, allowing the destination file to be overwritten if it already exists.